package actiontiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// ActionAddScoreComposeLog 系统接口表
type ActionAddScoreComposeLog struct {
	Id            int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"api的id"`
	ActiveScore   int64          `json:"activeScore" gorm:"column:active_score;type:bigint;default:0;not null;comment:上边用户补的积分"` // 补的积分
	UidActive     string         `json:"uidActive" gorm:"column:uid_active;type:varchar(256);not null;default:'';comment: 玩家id"`
	UidPassive    string         `json:"uidPassive" gorm:"column:uid_passive;type:varchar(256);not null;default:'';comment: 玩家id"`
	ActiveName    string         `json:"activeName" gorm:"column:active_name;type:varchar(256);not null;default:'';comment: 玩家id"`
	PassiveName   string         `json:"passiveName" gorm:"column:passive_name;type:varchar(256);not null;default:'';comment: 玩家id"`
	ActiveAvatar  string         `json:"activeAvatar" gorm:"column:active_avatar;type:varchar(256);not null;default:'';comment: 玩家id"`
	PassiveAvatar string         `json:"passiveAvatar" gorm:"column:passive_avatar;type:varchar(256);not null;default:'';comment: 玩家id"`
	PassiveScore  int64          `json:"passiveScore" gorm:"column:passive_score;type:bigint;default:0;not null;comment:补的下用户的积分"` // 补的积分
	TotalScore    int64          `json:"totalScore" gorm:"column:total_score;type:bigint;default:0;not null;comment:补的总积分"`        // 补的积分
	Remark        string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment:备注"`             //
	Reviewer      string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"`        // 审核人
	CreatedUserId int64          `json:"createdUserId" gorm:"column:created_user_id;type:bigint;default:0;not null;comment:创建人id"` // 创建人id
	CreatedAt     time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt     time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt     gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
